package com.wang.loanassembly.controller;


import com.wang.commons.result.Result;
import com.wang.loanassembly.param.platformLend.AddPlatformParam;
import com.wang.loanassembly.param.platformLend.ChangePlatformParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lichacha
 * @since 2022-01-04
 */
@Controller
@RequestMapping("/platformLending")
@Api(tags = "平台-放贷方的对接接口类")
public class PlatformLendingController {
    /**
     * 添加对接记录
     */
    @ApiOperation("添加对接记录")
    @PutMapping("addPlatformLending")
    public Result addPlatfromLending(@RequestBody AddPlatformParam app ){
       return null;
    }
    /**
     * 修改对接记录
     */
    @ApiOperation("添加对接记录")
    @PostMapping("changePlatformLending")
    public Result changePlatfromLending(@RequestBody ChangePlatformParam cpp ){
        return null;
    }

}

